<div class="tt-wrapper-section">
    <div class="container">
        <div class="tt-user-header">
            <div class="tt-col-avatar">
                <div class="tt-icon">
                    @if(Auth::check())
                        <div class="user-avatar">
                            {{ mb_substr(Auth::user()->name, 0, 1) }}
                        </div>
                    @endif
                </div>
            </div>
            <div class="tt-col-title">
                <div class="tt-title">
                    @if(Auth::check())
                        <a href="#">{{ Auth::user()->name }}</a>
                    @else
                        <a href="{{ route('login') }}">去登陆</a>
                    @endif
                </div>
                <ul class="tt-list-badge">
                    <li>
                        <a href="#">
                            @if(Auth::check())
                                <span class="tt-color14 tt-badge">用户</span>
                            @else
                                <span class="tt-color05 tt-badge">游客</span>
                            @endif
                        </a>
                    </li>
                </ul>
            </div>
            <div class="tt-col-btn" id="js-settings-btn">
                <div class="tt-list-btn">
                    {{--                    <a href="#" class="tt-btn-icon">--}}
                    {{--				        <span class="icon iconfont icon-icon-test16"></span>--}}
                    {{--                    </a>--}}
                    {{--                    <a href="#" class="btn btn-primary">信息通知</a>--}}
                    {{--                    <a href="#" class="btn btn-secondary">设置</a>--}}
                </div>
            </div>
        </div>
    </div>
</div>
